package com.ctrip.ec.biz.entity.image;
import com.ctrip.ec.dal.DbColumn;
import com.ctrip.ec.dal.DbTable;
import com.ctrip.ec.dal.EntityBase;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.sql.Timestamp;
@DbTable("s_image")
public class ImageEntity extends EntityBase {
    @DbColumn("id")
    private Long id;
    @DbColumn("url")
    private String url;
    @DbColumn("name")
    private String name;
    @DbColumn("size")
    private Long size;
    @DbColumn("width")
    private Integer width;
    @DbColumn("height")
    private Integer height;
    @DbColumn("in_use")
    private Boolean inUse;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh" ,timezone="GMT+8")
    @DbColumn("create_time")
    private Timestamp createTime;
    public  Long getId(){
        return this.id;
    }
    public void setId(Long id){
        this.id = id;
    }
    public  String getUrl(){
        return this.url;
    }
    public void setUrl(String url){
        this.url = url;
    }
    public  String getName(){
        return this.name;
    }
    public void setName(String name){
        this.name = name;
    }
    public  Long getSize(){
        return this.size;
    }
    public void setSize(Long size){
        this.size = size;
    }
    public  Integer getWidth(){
        return this.width;
    }
    public void setWidth(Integer width){
        this.width = width;
    }
    public  Integer getHeight(){
        return this.height;
    }
    public void setHeight(Integer height){
        this.height = height;
    }
    public  Boolean getInUse(){
        return this.inUse;
    }
    public void setInUse(Boolean inUse){
        this.inUse = inUse;
    }
    public  Timestamp getCreateTime(){
        return this.createTime;
    }
    public void setCreateTime(Timestamp createTime){
        this.createTime = createTime;
    }
}